<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=1, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <script src="lib/vue.js"></script>
    <title>Document</title>
</head>
<body>
    <h1>绑定标签的指定属性，采用表达式方式</h1>
    <div id="app-2">
        <span v-bind:title="message">鼠标悬停几秒钟查看此处动态绑定的提示信息！</span>
        <a v-bind:href="url">点击跳转</a>
    </div>
    <script src="lib/vue.js"></script>
    <script>
    var app= new vue({
        el:'#app-2',
        data:{
            message:'页面加载于'+new data(),
            url:'http://www.baidu.com/'
        }
    })
    </script>
</body>
</html>